package com.xyazm.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xyazm.order.domain.dto.OrderListDTO;
import com.xyazm.order.domain.dto.QueryOrderListDTO;
import com.xyazm.order.domain.entity.OrderInfoDO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author xuyou
 * @since 2022-05-02
 */
public interface OrderInfoMapper extends BaseMapper<OrderInfoDO> {

    /**
     * 查询订单详细信息
     * @author xuyou
     * @date: 2022/6/24 14:31
     */
    Page<OrderListDTO> listByPage(Page<OrderListDTO> page, @Param("query") QueryOrderListDTO query);

}
